package com.xxg.fileshand.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Create by Sxl on 2023/9/14.
 */
@Entity
public class BorrowDTO {

    @Id(autoincrement = true)
    private Long id;

    @Unique
    private String cardId;
    private String cardName;
    private String cardBorrowMaxNum;
    private String cardBorrowCanNum;
    private String cardBorrowNum;

    @Generated(hash = 1978499328)
    public BorrowDTO(Long id, String cardId, String cardName,
            String cardBorrowMaxNum, String cardBorrowCanNum,
            String cardBorrowNum) {
        this.id = id;
        this.cardId = cardId;
        this.cardName = cardName;
        this.cardBorrowMaxNum = cardBorrowMaxNum;
        this.cardBorrowCanNum = cardBorrowCanNum;
        this.cardBorrowNum = cardBorrowNum;
    }

    @Generated(hash = 1080165335)
    public BorrowDTO() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCardBorrowNum() {
        return cardBorrowNum;
    }

    public void setCardBorrowNum(String cardBorrowNum) {
        this.cardBorrowNum = cardBorrowNum;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getCardBorrowMaxNum() {
        return cardBorrowMaxNum;
    }

    public void setCardBorrowMaxNum(String cardBorrowMaxNum) {
        this.cardBorrowMaxNum = cardBorrowMaxNum;
    }

    public String getCardBorrowCanNum() {
        return cardBorrowCanNum;
    }

    public void setCardBorrowCanNum(String cardBorrowCanNum) {
        this.cardBorrowCanNum = cardBorrowCanNum;
    }
}
